param([string]$HostHeader = "sts.socialconnekt.com", [string]$IisSiteName = "Default Web Site")
Write-Host "Host Header: $HostHeader"
Write-Host "IIS Site Name: $IisSiteName"

$computerName = $Env:Computername
$domainName = $Env:UserDnsDomain
$getThumb = Get-ChildItem -path cert:\LocalMachine\My | where { $_.Subject -match $HostHeader }
$thumbprint = $getThumb.thumbprint
#$newguid = [guid]::NewGuid()
#write-host $newguid
.\SocialConnektAddHostNameSSL.bat $IisSiteName $HostHeader $thumbprint
